package com.utooo.bid.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 标书目录信息实体类
 * 映射数据库表 aigis_bsml_202503031500349
 */
@Builder
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("aigis_bsml_202503031500349")
@NoArgsConstructor
@AllArgsConstructor
public class BidCatalog extends BaseDO {

    /**
     * 标书
     */
    @TableField("selectField102")
    private String bidId;

    /**
     * 目录类型
     */
    @TableField("selectField101")
    private int catalogType;

    /**
     * 目录名称
     */
    @TableField("comInputField103")
    private String catalogName;

    /**
     * 上级目录
     */
    @TableField("comInputField106")
    private String parentId;

    /**
     * 排序
     */
    @TableField("numInputField105")
    private int sort;


    public BidCatalog(String id, String name, int type, String bidId, int sort, String parentId) {
        super.setId(id);
        this.bidId = bidId;
        this.catalogType = type;
        this.catalogName = name;
        this.parentId = parentId;
        this.sort = sort;
    }

}